export default {
  path: '/product',
  component: Layout,
  redirect: '/product/list',
  name: 'ProductManagement',
  meta: {
    title: '商品管理',
    icon: 'shopping'
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/product/list'),
      name: 'ProductList',
      meta: { title: '商品列表' }
    },
    {
      path: 'category',
      component: () => import('@/views/product/category'),
      name: 'CategoryManagement',
      meta: { title: '分类管理' }
    },
    {
      path: 'stock',
      component: () => import('@/views/product/stock'),
      name: 'StockManagement',
      meta: { title: '库存管理' }
    }
  ]
} 